package org.jxc.domain;

import java.util.Date;

import org.jxc.constants.JXCString;
import org.team4.domain.BaseDomain;
import org.team4.domain.Dictionary;
import org.team4.domain.Users;

public class SalesOrder extends BaseDomain {
	private static final long serialVersionUID = 4361907991537425896L;
	private String code; // 编号
	private String billCode; // 发票编号
	private String takeAddress; // 送货地址
	private String remark; // 备注
	private Date orderDate; // 销售订单日期
	private Integer auditState;
	private Users auditor;
	private Double totalPrice;
	private Integer outState = JXCString.NOTOUTSTORE;

	private Dictionary billType; // 开票类型
	private Customer customer; // 客户
	private Users saler; // 销售人员

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getBillCode() {
		return billCode;
	}

	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}

	public String getTakeAddress() {
		return takeAddress;
	}

	public void setTakeAddress(String takeAddress) {
		this.takeAddress = takeAddress;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getOrderDate() {
		return orderDate;
	}

	public void setOrderDate(Date orderDate) {
		this.orderDate = orderDate;
	}

	public Dictionary getBillType() {
		return billType;
	}

	public void setBillType(Dictionary billType) {
		this.billType = billType;
	}

	public Customer getCustomer() {
		return customer;
	}

	public void setCustomer(Customer customer) {
		this.customer = customer;
	}

	public Users getSaler() {
		return saler;
	}

	public void setSaler(Users saler) {
		this.saler = saler;
	}

	public Integer getAuditState() {
		return auditState;
	}

	public void setAuditState(Integer auditState) {
		this.auditState = auditState;
	}

	public Users getAuditor() {
		return auditor;
	}

	public void setAuditor(Users auditor) {
		this.auditor = auditor;
	}

	public Double getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(Double totalPrice) {
		this.totalPrice = totalPrice;
	}

	public Integer getOutState() {
		return outState;
	}

	public void setOutState(Integer outState) {
		this.outState = outState;
	}
}
